package org.september.pisces.filestore.enums;

public enum StorePoolTypeEnum {

    本地磁盘(1),
    OSS(2),
    FTP(3),
    HIK(4),
    ;

    public int code;

    StorePoolTypeEnum(int code) {
        this.code = code;
    }

    public static String getName(int code) {
        for (StorePoolTypeEnum caseStatusEnum : StorePoolTypeEnum.values()) {
            if (caseStatusEnum.code == code) {
                return caseStatusEnum.name();
            }
        }
        return "";
    }
}
